<?php
include("include/config.inc.php");
$deleteParty = "DELETE FROM material 
                 WHERE materialId = ".$_GET['materialId'];
$deletePartyRes = mysql_query($deleteParty);
if(!$deletePartyRes)
{
	echo("DELETE FAIL");
}
else
{
	header("Location:material.php");
}
?>